package com.xli.metadata.frameconfig.entity.dto;

import com.xli.dto.validation.group.IGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Schema(description = "系统参数")
@Data
@EqualsAndHashCode(callSuper = true)
public class ConfigAddDTO extends ConfigDTO {

    @Schema(description = "参数名")
    @NotBlank(message = "configName必填", groups = {IGroup.add.class})
    private String configName;
}
